package cn.wit.test;

public class DemoEmployee {

	private String name;
	private int age;
	private double salary;

	public DemoEmployee() {
		

	}

	public DemoEmployee(String name, int age, double salary) {
		this.name = name;
		this.age = age;
		this.salary = salary;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public double getsalary() {
		return salary;
	}

	public void setsalary(double salary) {
		this.salary = salary;
	}

	@Override
	public String toString() {
		return "DemoEmployee[name=" + name + ",age=" + age + ",salary=" + salary + "]";
	}

}
